<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Parent_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-parent_id" data-rule="" data-source="parent/index" class="form-control selectpage" name="row[parent_id]" type="text" value="{$row.parent_id}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="" data-source="user.user/index" data-field="username" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Driver_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-driver_id" data-rule="" data-source="driver/index" class="form-control selectpage" name="row[driver_id]" type="text" value="{$row.driver_id}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" data-rule="" class="form-control selectpicker" name="row[type]" disabled>
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_time" data-rule="" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[start_time]" type="text" value="{:$row.start_time?datetime($row.start_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Person')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-person" data-rule="" class="form-control" name="row[person]" type="number" value="{$row.person}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Passenger_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-passenger_id" data-rule="" data-source="passenger/index" class="form-control selectpage" name="row[passenger_id]" type="text" value="{$row.passenger_id}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cargo_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cargo_id" data-rule="" data-source="cargo/index" class="form-control selectpage" name="row[cargo_id]" type="text" value="{$row.cargo_id}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Note')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-note" data-rule="" class="form-control" name="row[note]" type="text" value="{$row.note}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tips')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tips" data-rule="" class="form-control" step="0.01" name="row[tips]" type="number" value="{$row.tips}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Car_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-car_price" data-rule="" class="form-control" step="0.01" name="row[car_price]" type="number" value="{$row.car_price}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Luggage_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-luggage_price" data-rule="" class="form-control" step="0.01" name="row[luggage_price]" type="number" value="{$row.luggage_price}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pet_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pet_price" data-rule="" class="form-control" step="0.01" name="row[pet_price]" type="number" value="{$row.pet_price}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Coupon_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-coupon_id" data-rule="" class="form-control" name="row[coupon_id]" type="text" value="{$row.coupon_id}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Coupon_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-coupon_price" data-rule="" class="form-control" step="0.01" name="row[coupon_price]" type="number" value="{$row.coupon_price}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" data-rule="" class="form-control" step="0.01" name="row[price]" type="number" value="{$row.price}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_price" data-rule="" class="form-control" step="0.01" name="row[pay_price]" type="number" value="{$row.pay_price}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">支付状态:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="payStatusList" item="vo"}
                    <label for="row[pay_status]-{$key}"><input id="row[pay_status]-{$key}" name="row[pay_status]" type="radio" value="{$key}" {in name="key" value="$row.pay_status"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pay_time]" type="text" value="{:$row.pay_time?datetime($row.pay_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Driver_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-driver_money" class="form-control" step="0.01" name="row[driver_money]" type="number" value="{$row.driver_money}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Platform_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-platform_money" data-rule="" class="form-control" step="0.01" name="row[platform_money]" type="number" value="{$row.platform_money}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_fine')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_fine" data-rule="" class="form-control" step="0.01" name="row[refund_fine]" type="number" value="{$row.refund_fine}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_price" data-rule="" class="form-control" step="0.01" name="row[refund_price]" type="number" value="{$row.refund_price}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[refund_time]" type="text" value="{:$row.refund_time?datetime($row.refund_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Begin_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-begin_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[begin_time]" type="text" value="{:$row.begin_time?datetime($row.begin_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Arrive_start_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-arrive_start_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[arrive_start_time]" type="text" value="{:$row.arrive_start_time?datetime($row.arrive_start_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Aboard_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-aboard_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[aboard_time]" type="text" value="{:$row.aboard_time?datetime($row.aboard_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Arrive_end_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-arrive_end_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[arrive_end_time]" type="text" value="{:$row.arrive_end_time?datetime($row.arrive_end_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Finish_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-finish_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[finish_time]" type="text" value="{:$row.finish_time?datetime($row.finish_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cancel_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cancel_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[cancel_time]" type="text" value="{:$row.cancel_time?datetime($row.cancel_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Driver_cancel_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-driver_cancel_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[driver_cancel_time]" type="text" value="{:$row.driver_cancel_time?datetime($row.driver_cancel_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_aboard_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_aboard_img" data-rule="" class="form-control" name="row[user_aboard_img]" type="text" value="{$row.user_aboard_img}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_confirm_aboard')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-user_confirm_aboard" data-rule="" class="form-control selectpicker" name="row[user_confirm_aboard]" disabled>
                {foreach name="userConfirmAboardList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.user_confirm_aboard"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Driver_aboard_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-driver_aboard_img" data-rule="" class="form-control" name="row[driver_aboard_img]" type="text" value="{$row.driver_aboard_img}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Driver_confirm_aboard')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-driver_confirm_aboard" data-rule="" class="form-control selectpicker" name="row[driver_confirm_aboard]" disabled>
                {foreach name="driverConfirmAboardList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.driver_confirm_aboard"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Arrive_end_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-arrive_end_img" data-rule="" class="form-control" name="row[arrive_end_img]" type="text" value="{$row.arrive_end_img}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('用户评价')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-comment" data-rule="" class="form-control" name="row[comment]" type="text" value="{$row.comment}" disabled>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
